/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Plano;

import Geral.ErroInternoException;
import java.io.Serializable;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Ivson
 */
@Local
public interface IRepositorioPlano extends Serializable {
    
    public void adicionar (Plano plano) throws ErroInternoException, PlanoExistenteException;
    public void remover (long id_plano) throws ErroInternoException, PlanoInexistenteException;
    public Plano buscarPlano(long id_plano) throws ErroInternoException, PlanoInexistenteException;
    public void atualizar (Plano plano) throws ErroInternoException, PlanoInexistenteException;
    public List<Plano> listaPlano(Plano plano) throws ErroInternoException;
}
